sources := $(shell echo *.c)
objects := $(patsubst %.c,%.o,$(sources))
target := portal
CFLAGS = -Wall -g
LDFLAGS = -lssl -lcrypto -lsqlite3 -pthread

all: portal

$(target): $(objects)
	$(CC) $^ $(LDFLAGS) -o $(target)

clean:
	rm -rf portal *.o
